package cn.ctyun.videoplayer.playerevent;

import java.io.Serializable;

import cn.ctyun.videoplayer.bean.TerminalInfo;
import cn.ctyun.videoplayer.bean.VideoInfo;

/**
 *  播放器事件记录
 */
public class PlayerEventModel implements Serializable {

    private TerminalInfo terminal;
    private String action;
    private VideoInfo video;

    public TerminalInfo getTerminal() {
        return terminal;
    }

    public void setTerminal(TerminalInfo terminal) {
        this.terminal = terminal;
    }

    public String getAction() {
        return action;
    }

    public void setAction(String action) {
        this.action = action;
    }

    public VideoInfo getVideo() {
        return video;
    }

    public void setVideo(VideoInfo video) {
        this.video = video;
    }

    @Override
    public String toString() {
        return "action :" + action + ", terminal : { " + terminal.toString() + " },"
                + ", video : { " + video.toString() + " },";
    }
}
